package io.renren.modules.netty.model;

import lombok.Data;

import java.io.Serializable;

@Data
public class ElecmeterMessageObj implements Serializable {

  private ElecmeterMessageHeader messageHeader;

  /**
   * 命令
   */
  private String content;

  public ElecmeterMessageObj(ElecmeterMessageHeader messageHeader, String content) {
    this.content = content;
    this.messageHeader = messageHeader;
  }


  @Override
  public String toString() {
    return "ElecmeterMessageObj{" +
        "messageHeader=" + messageHeader +
        ", content=" + content +
        '}';
  }
}
